package com.liujit.standard.basis.admin.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description 系统用户
 * @Author LiuJun
 * @Date 2021-03-25 17:12:35
 */
@ApiModel("系统用户")
@Data
public class SysUser {

    @ApiModelProperty("主键")
    @TableField(fill = FieldFill.INSERT)
    private Long id;

    @ApiModelProperty("登录名")
    private String loginName;

    @ApiModelProperty("登录密码")
    private String loginPass;

    @ApiModelProperty("手机号")
    private String phoneNumber;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("性别 、-1未知。0、女。1、男。")
    private Short sex;

    @ApiModelProperty("头像")
    private Object headerImg;

    @ApiModelProperty("状态：0、禁用。1、启用。")
    private Short state;

    @ApiModelProperty("创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUserId;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}